home *** CD-ROM | disk | FTP | other *** search
/ iBrowse Update Disc / iBrowse Update Disc.iso / distrib / man / Manuals / Internet / Pages / wpages < prev   
Text File  |  1998-02-26  |  13KB  |  292 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  4. <TITLE>Acorn Internet: World Wide Web pages</TITLE>
  5.  
  6. <META NAME="GENERATOR" CONTENT="Internet Assistant for Microsoft Word 2.04z">
  7. </HEAD>
  8. <BODY>
  9. <P>
  10. <TABLE WIDTH=100%>
  11. <TR><TD>
  12. <BODY bgcolor="ffffff"><A NAME="_Toc401045867"><FONT SIZE=6>11 <A NAME="World">World</A> Wide Web pages</FONT></A>
  13. </TD><TD ALIGN="RIGHT"><A HREF="jashk"><IMG SRC="MiscImages/PREV" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="../Cover"><IMG SRC="MiscImages/START" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="prelms"><IMG SRC="MiscImages/CONTS" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="appxa"><IMG SRC="MiscImages/NEXT" WIDTH="36" HEIGHT="36" BORDER="0"></A>
  14. </TD></TR>
  15. </TABLE>
  16. <HR>
  17. <H2><A NAME="What">What are Web pages?</A></H2>
  18. <P>
  19. <FONT SIZE=3>Web pages are documents created by authors using
  20. a combination of plain text and a markup language called HTML
  21. (HyperText Markup Language). HTML uses short codes (also known
  22. as tags) to define the structure of a document (headings, paragraphs,
  23. lists, and so on) as well as graphical elements and links within
  24. the document. An HTML document that is available on the Web is
  25. usually known as a Web page.</FONT>
  26. <P>
  27. <FONT SIZE=3>Clicking on a link in a Web page brings another page
  28. located on a local or remote server to your computer, irrespective
  29. of the server's geographic location. Pages can contain text, images,
  30. sounds, movies, or a combination of all these.</FONT>
  31. <H2><A NAME="Creating">Creating Web pages</A></H2>
  32. <P>
  33. <FONT SIZE=3>HTML documents are in plain ASCII text format and
  34. you can create them using any text editor, inserting the markup
  35. codes manually into the text. Alternatively, you can use an HTML
  36. editor such as HTMLEdit, which can make inserting the correct
  37. codes easier.</FONT>
  38. <H3>HTML tags</H3>
  39. <P>
  40. <FONT SIZE=3>HTML uses embedded codes (tags) to designate graphical
  41. elements and links. You can create these codes simply from your
  42. keyboard using angled brackets and the slash character. For example,
  43. the tag <B><B></B> presents text in bold letters. An HTML
  44. source file containing the expression <B><B>This text appears
  45. in bold.</B></B> is displayed on screen in bold. Notice
  46. that the tag <B></B></B> is needed to indicate the end of
  47. the bold expression.</FONT>
  48. <P>
  49. <FONT SIZE=3>HTML consists of many tags like this which are used
  50. both for indicating the structure of a document and defining hyperlinks
  51. embedded in the document.</FONT>
  52. <UL>
  53. <LI><FONT SIZE=3>Document structure tags can be used to mark the
  54. title and body of a document, different levels of heading, bulleted
  55. lists, paragraph breaks and typographical variations (bold, Italic).
  56. </FONT>
  57. <LI><FONT SIZE=3>Link tags define links to other documents or
  58. images.</FONT>
  59. </UL>
  60. <H3>Creating links</H3>
  61. <P>
  62. <FONT SIZE=3>Here's an example which creates a link for users
  63. to click on:</FONT>
  64. <P>
  65. <TT><FONT SIZE=3 FACE="Courier"><A HREF="http://www.acorn.com/acorn/Home">Acorn
  66. Home Page</A></FONT></TT>
  67. <P>
  68. <FONT SIZE=3>This link is made up of three main elements:</FONT>
  69. <UL>
  70. <LI><FONT SIZE=3>The opening and closing tags. The tag code </FONT><TT>A
  71. HREF=</FONT></TT><FONT SIZE=3> signals the start of a link, while
  72. the closing tag </FONT><TT></A></FONT></TT><FONT SIZE=3>
  73. signals the end of the link.</FONT>
  74. <LI><FONT SIZE=3>The part of the tag between quotation marks is
  75. the URL of the page brought by clicking on the link. (<A HREF="#URLs" >See Identifying resources - URLs</A>
  76. for more about URLs.)</FONT>
  77. <LI><FONT SIZE=3>The text following the URL contains the text
  78. which appears highlighted on the screen (in this example, "Acorn
  79. Home Page"). </FONT>
  80. </UL>
  81. <H3>Looking at HTML source</H3>
  82. <P>
  83. <FONT SIZE=3>You can look at any page's HTML source by choosing
  84. the <B>Display page source</B> option from the button bar. You can then examine all the text
  85. and tags used to define the content and style of the page.</FONT>
  86. <H2><A NAME="Identifying">Identifying</A> resources - <A NAME="URLs">URLs</A>
  87. </H2>
  88. <P>
  89. <FONT SIZE=3>Every single page on the World Wide Web has an identifier,
  90. called a URL, short for Uniform Resource Locator. The URL both
  91. locates and uniquely identifies resources on the Web. Using the
  92. URL, browsers like Acorn Internet software can find a particular
  93. page or file among all the computers connected to the Internet.
  94. </FONT>
  95. <P>
  96. <FONT SIZE=3>Here's a sample URL: </FONT>
  97. <P>
  98. <TT>http://www.acorn.com/acorn/Home</FONT></TT>
  99. <P>
  100. <FONT SIZE=3>The URL is made up of three separate components:
  101. </FONT>
  102. <UL>
  103. <LI><FONT SIZE=3>The <B>protocol</B> - the method used for transferring
  104. files across a network.</FONT>
  105. <LI><FONT SIZE=3>The <B>domain name</B> - the name and location
  106. of the server computer.</FONT>
  107. <LI><FONT SIZE=3>The <B>pathname</B> of the resource - the filename
  108. and the name of the directory where the resource is stored.</FONT>
  109. </UL>
  110. <H3>Protocol</H3>
  111. <P>
  112. <FONT SIZE=3>The first component in a URL, the protocol, is followed
  113. by a colon, for example, </FONT><TT>http:</FONT></TT><FONT SIZE=3>.
  114. It identifies how computers will talk to each other across a network.
  115. </FONT>
  116. <P>
  117. <FONT SIZE=3>Web pages use HTTP (short for HyperText Transfer
  118. Protocol). Other common protocols you might come across in URLs
  119. include:</FONT>
  120. <H4>file:</H4>
  121. <P>
  122. <FONT SIZE=3>When you see </FONT><TT>file:</FONT></TT><FONT SIZE=3>
  123. at the front of a URL, it means that the resource is stored on
  124. your local system</FONT>
  125. <H4>Mail to:</H4>
  126. <P>
  127. <FONT SIZE=3>Starts the mail application to send a mail message
  128. to the required destination.</FONT>
  129. <H4>ftp:</H4>
  130. <P>
  131. <FONT SIZE=3>Short for File Transfer Protocol, this is an alternative
  132. protocol for moving files from one computer to another. For example,
  133. the Acorn FAQ document is available from the following ftp site:</FONT>
  134. <P>
  135. <TT><FONT SIZE=3 FACE="Courier">ftp://rtfm.mit.edu/pub/usenet/news.answers/acorn/faq</FONT></TT>
  136. <H4>gopher:</H4>
  137. <P>
  138. <FONT SIZE=3>Another alternative transfer protocol that allows
  139. you to browse for resources via simple text menus. For example,
  140. the Queensland University of Technology Gopher has this URL:</FONT>
  141. <P>
  142. <TT>gopher://gopher2.qut.edu.au/</FONT></TT>
  143. <H4>telnet:</H4>
  144. <P>
  145. <FONT SIZE=3>A protocol that allows you to log in to other computers
  146. on the Internet. For example, you can log into the Cambridge University
  147. Library computer and search their catalogue by author, title or
  148. subject:</FONT>
  149. <P>
  150. <TT>telnet://ul.cam.ac.uk/</FONT></TT>
  151. <H4>news:</H4>
  152. <P>
  153. <FONT SIZE=3>The protocol used by Usenet news groups. For example,
  154. this is the URL for the comp.sys.acorn newsgroup, a newsgroup
  155. for announcements about Acorn and Acorn products:</FONT>
  156. <P>
  157. <TT>news:comp.sys.acorn.announce</FONT></TT>
  158. <H3>Domain name</H3>
  159. <P>
  160. <FONT SIZE=3>The second component in the URL, the domain name,
  161. is preceded by two slashes, for example </FONT><TT>//www.acorn.com</FONT></TT><FONT SIZE=3>.
  162. This part identifies the computer that stores the information
  163. you're seeking. </FONT>
  164. <P>
  165. <FONT SIZE=3>Each server on the Internet has a unique address
  166. to distinguish it from all the other servers on the Internet -
  167. the domain name. The domain name is broken into several subparts
  168. (a host name and zero or more subdomains), with each part separated
  169. by a dot (the full stop symbol is pronounced "dot").
  170. The subparts are organised in a hierarchical sequence from the
  171. left (the most specific part of the address) to the right (the
  172. most general part of the address). You can often tell what kind
  173. of organisation is operating the server and where the server is
  174. located from its address or domain name.</FONT>
  175. <P>
  176. <FONT SIZE=3>A domain name starts with the name of the server
  177. computer, and may also include the name and type of the organisation
  178. providing the server, and the country where the server is located.
  179. For example:</FONT>
  180. <P>
  181. <TT>www.acorn.com</FONT></TT>
  182. <P>
  183. <FONT SIZE=3>This is the domain name address for the Acorn Computers
  184. Web server, where;</FONT>
  185. <P>
  186. <TT>www</FONT></TT><FONT SIZE=3> = the name
  187. of the server computer</FONT>
  188. <P>
  189. <TT>acorn</FONT></TT><FONT SIZE=3> = the
  190. name of the company</FONT>
  191. <P>
  192. <FONT SIZE=3>com = the type of organisation (commercial)</FONT>
  193. <P>
  194. <TT>www.canterbury.ac.nz</FONT></TT>
  195. <P>
  196. <FONT SIZE=3>This is the domain named address for the University
  197. of Canterbury Web server in New Zealand, where</FONT>
  198. <P>
  199. <TT>www</FONT></TT><FONT SIZE=3> = the name
  200. of the server computer</FONT>
  201. <P>
  202. <TT>canterbury</FONT></TT><FONT SIZE=3> =
  203. the name of the University </FONT>
  204. <P>
  205. <TT>ac</FONT></TT><FONT SIZE=3> = the type
  206. of organisation (academic)</FONT>
  207. <P>
  208. <TT>nz</FONT></TT><FONT SIZE=3> = New Zealand</FONT>
  209. <P>
  210. <TT>george.lbl.gov</FONT></TT>
  211. <P>
  212. <FONT SIZE=3>This is the domain name for the Lawrence Berkeley
  213. National Laboratory Web server in the United States:</FONT>
  214. <P>
  215. <TT>george</FONT></TT><FONT SIZE=3> = the
  216. name of the server computer</FONT>
  217. <P>
  218. <TT>lbl</FONT></TT><FONT SIZE=3> = the name
  219. of the organisation</FONT>
  220. <P>
  221. <TT>gov</FONT></TT><FONT SIZE=3> = the type
  222. of organisation (US Government)</FONT>
  223. <P>
  224. <FONT SIZE=3>Here are some other common suffixes and their regional
  225. and organisational affiliations:</FONT>
  226. <UL>
  227. <LI><FONT SIZE=3>.co (commercial)</FONT>
  228. <LI><FONT SIZE=3>.ac (educational)</FONT>
  229. <LI><FONT SIZE=3>.uk (United Kingdom)</FONT>
  230. <LI><FONT SIZE=3>.nl (The Netherlands)</FONT>
  231. <LI><FONT SIZE=3>.au (Australia)</FONT>
  232. <LI><FONT SIZE=3>.gov (US government)</FONT>
  233. <LI><FONT SIZE=3>.com (US commercial)</FONT>
  234. <LI><FONT SIZE=3>.edu (US educational)</FONT>
  235. </UL>
  236. <H3>Pathname</H3>
  237. <P>
  238. <FONT SIZE=3>The last component of the URL is the remote pathname
  239. which identifies the location of the page on the server. Each
  240. segment of the pathname is preceded by a single forward slash.</FONT>
  241. <P>
  242. <FONT SIZE=3>A pathname might identify a page by specifying the
  243. name of the file comprising the page (such as</FONT><TT>
  244. /welcome</FONT></TT><FONT SIZE=3>) as well as the name of
  245. one or more subdirectories that store the file (for example, </FONT><TT>/acorn</FONT></TT><FONT SIZE=3>
  246. or </FONT><TT>/acorn/library/ref</FONT></TT><FONT SIZE=3>).</FONT>
  247. <H2><A NAME="Serving">Serving</A> pages</H2>
  248. <P>
  249. <FONT SIZE=3>You can use the Acorn Internet proxy/cache server
  250. to serve your own pages to other Web users on a local network.</FONT>
  251. <OL>
  252. <LI><FONT SIZE=3>First set up a local page cache as described
  253. in <A HREF="confbr#Browser" >Browser configuration</A>.</FONT>
  254. <LI><FONT SIZE=3>Create a Web page in HTML format. Double-click
  255. on !WebCache, which you will find in the same directory as !Browse,
  256. and a directory display will appear. Save the HTML file into the
  257. directory with a suitable name.</FONT>
  258. <LI><FONT SIZE=3>Make sure that you set the file's expiry time
  259. to a suitable length (see <A HREF="confbr#cache" >Setting the local cache size and expiry times</A>).</FONT>
  260. <LI><FONT SIZE=3>Restart WebServe.</FONT>
  261. </OL>
  262. <P>
  263. <FONT SIZE=3>Local Web users will be able to request the page
  264. by entering its address in the format:</FONT>
  265. <P>
  266. <TT>http://node_name/page_pathname </FONT></TT>
  267. <P>
  268. <FONT SIZE=3>where </FONT><TT>node_name</FONT></TT><FONT SIZE=3>
  269. is the IP name of the server. (Note that URLs are case-sensitive.)</FONT>
  270. <P>
  271. <FONT SIZE=3>In some limited circumstances, you can also serve
  272. pages to remote users, if</FONT>
  273. <OL>
  274. <LI><FONT SIZE=3>you have a permanently open phone line, and</FONT>
  275. <LI><FONT SIZE=3>your service provider allocates you a fixed IP
  276. address (and not a dynamic one).</FONT>
  277. </OL>
  278. <P>
  279. <FONT SIZE=3>In such a case, remote users could access your locally-cached
  280. pages by requesting:</FONT>
  281. <P>
  282. <TT><FONT SIZE=3 FACE="Courier">http://node_name.service_provider/page_pathname
  283. </FONT></TT>
  284. <P>
  285. <FONT SIZE=3>where <TT>node_name</TT> is your Internet name, by which you are known by your service provider (e.g. <TT>bashstrt</TT> in <TT>bashstrt.demon.uk</TT>).
  286. </FONT>
  287. <P>
  288. <A HREF="jashk"><IMG SRC="MiscImages/PREV" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="../Cover"><IMG SRC="MiscImages/START" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="prelms"><IMG SRC="MiscImages/CONTS" WIDTH="36" HEIGHT="36" BORDER="0"></A><A HREF="appxa"><IMG SRC="MiscImages/NEXT" WIDTH="36" HEIGHT="36" BORDER="0"></A>
  289. <P>
  290. </BODY>
  291. </HTML>
  292.